package com.kurt.config;

import org.springframework.context.annotation.Configuration;
import org.springframework.data.jpa.repository.config.EnableJpaAuditing;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;

/**
 * JPA配置类
 * 启用JPA审计和Repository扫描
 */
@Configuration
@EnableJpaAuditing
@EnableJpaRepositories(basePackages = "com.kurt.repository")
public class JpaConfig {

    // JPA配置已通过注解完成
    // @EnableJpaAuditing 启用JPA审计功能，自动填充创建时间、更新时间等字段
    // @EnableJpaRepositories 启用JPA Repository扫描
}
